package com.ruoyi.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tyc_patent
 * 
 * @author ruoyi
 * @date 2020-09-09
 */
public class TycPatent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Integer numbers;

    /** 专利类型（字典） */
    @Excel(name = "专利类型", readConverterExp = "字=典")
    private String ptype;

    /** 专利名称 */
    @Excel(name = "专利名称")
    private String pname;

    /** 公开号 */
    @Excel(name = "公开号")
    private String opens;

    /** 申请人 */
    @Excel(name = "申请人")
    private String sname;

    /** 发明人 */
    @Excel(name = "发明人")
    private String fname;

    /** 其他参与人员 */
    @Excel(name = "其他参与人员")
    private String qname;

    /** 申请日 */
    @Excel(name = "申请日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stime;

    /** 授权日 */
    @Excel(name = "授权日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qtime;

    /** 赋分 */
    @Excel(name = "赋分")
    private BigDecimal grade;

    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal bonus;

    /** 上传人 */
    @Excel(name = "上传人")
    private String shname;

    /** 附件（上传文件） */
    @Excel(name = "附件", readConverterExp = "上=传文件")
    private String accessory;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Integer status;

    /** 备案 */
    @Excel(name = "备案")
    private Integer onRecords;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setnumbers(Integer numbers) 
    {
        this.numbers = numbers;
    }

    public Integer getnumbers()
    {
        return numbers;
    }
    public void setPtype(String ptype)
    {
        this.ptype = ptype;
    }

    public String getPtype()
    {
        return ptype;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setopens(String opens) 
    {
        this.opens = opens;
    }

    public String getopens() 
    {
        return opens;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }
    public void setFname(String fname) 
    {
        this.fname = fname;
    }

    public String getFname() 
    {
        return fname;
    }
    public void setQname(String qname) 
    {
        this.qname = qname;
    }

    public String getQname() 
    {
        return qname;
    }
    public void setStime(Date stime) 
    {
        this.stime = stime;
    }

    public Date getStime() 
    {
        return stime;
    }
    public void setQtime(Date qtime) 
    {
        this.qtime = qtime;
    }

    public Date getQtime() 
    {
        return qtime;
    }
    public void setGrade(BigDecimal grade)
    {
        this.grade = grade;
    }

    public BigDecimal getGrade()
    {
        return grade;
    }
    public void setBonus(BigDecimal bonus)
    {
        this.bonus = bonus;
    }

    public BigDecimal getBonus()
    {
        return bonus;
    }
    public void setShname(String shname) 
    {
        this.shname = shname;
    }

    public String getShname() 
    {
        return shname;
    }
    public void setAccessory(String accessory) 
    {
        this.accessory = accessory;
    }

    public String getAccessory() 
    {
        return accessory;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOnRecords(Integer onRecords) 
    {
        this.onRecords = onRecords;
    }

    public Integer getOnRecords() 
    {
        return onRecords;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("numbers", getnumbers())
            .append("ptype", getPtype())
            .append("pname", getPname())
            .append("opens", getopens())
            .append("sname", getSname())
            .append("fname", getFname())
            .append("qname", getQname())
            .append("stime", getStime())
            .append("qtime", getQtime())
            .append("grade", getGrade())
            .append("bonus", getBonus())
            .append("shname", getShname())
            .append("accessory", getAccessory())
            .append("status", getStatus())
            .append("onRecords", getOnRecords())
            .toString();
    }
}
